require 'rubygems'
require File.expand_path("../lib/spiceinit/version", __FILE__)

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:specs) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ["--colour","--format nested"]
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "SpiceInit #{SpiceInit::VERSION}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end